sinclude ../scripts/env.mk

X_ASFLAGS	+= -f elf -I $(DIR_XLIBC)/indlude 
X_CFLAGS	:= -fno-builtin -Wall -Wunused -fno-PIE -m32 -fno-stack-protector -std=gnu99 -O3

LD			:= ld -m elf_i386
AS			:= nasm
export AS LD

MODULE		:= xlibc
MODULE		+= xlibcpp
MODULE		+= pthread
MODULE		+= zlib
MODULE		+= libtiff
MODULE		+= libwebp
MODULE		+= netsocket
MODULE		+= jpeg
MODULE		+= libpng
MODULE		+= lvgl
MODULE		+= uview
MODULE		+= xtk
MODULE		+= gato
MODULE		+= freetype
MODULE		+= pixman
MODULE		+= cairo
MODULE		+= fribidi
MODULE		+= sdl2
MODULE		+= lua
MODULE		+= SDL2_image
MODULE		+= SDL2_ttf
MODULE		+= iniparser
MODULE		+= cjson
